#ifndef _EKOS_ERROR_H_
#define _EKOS_ERROR_H_

/* Unspecified or unknown problem */
#define E_UNSPECIFIED	1

/* Environment doesn't exist or otherwise cannot be used in requested
 * action */
#define E_BAD_ENV		2

/* Invalid parameter */
#define E_INVAL			3

/* Request failed due to memory shortage */
#define E_NO_MEM		4

/* Attempt to create a new environment beyond the maximum allowed */
#define E_NO_ENV		5

/* Too many thread created by a process */
#define E_NO_THREAD     6

/* Memory fault */
#define E_FAULT			7

#define E_IEC_BUSY		8
#define E_IEC_DENIED    9

#define E_PERM          10

#define E_IOERR			11

#define E_RESET         12

#define	MAXERROR		12

#endif /* _EKOS_ERROR_H_ */
